<template>
  <div class="wrap">
    <header>河南科技学院地图</header>
    <main>
      <img src="../../static/img/map.jpg"
           alt="学校地图"
           class="map">
    </main>
    <footer>
      <x-button style="background: rgb(57, 147, 236); color: #fff; margin: auto; display: block;font-size:16px"
                mini
                @click.native="goBack">点击返回</x-button>
    </footer>
  </div>
</template>

<script>
export default {
  methods: {
    goBack() {
      this.$router.back();
    }
  }
};
</script>

<style scoped>
.wrap {
  height: 100vh;
  background: #fff;
}
header {
  height: 60px;
  line-height: 60px;
  font-size: 21px;
  text-align: center;
  color: #fff;
  background-color: rgba(11, 83, 155, 1);
}
.map {
  width: 100vw;
}
</style>